package com.beta.cust.bind.datasync.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.beta.cust.bind.datasync.mapper.entity.DepartmentInfo;

import java.util.List;


/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author pcc
 * @since 2024-03-12
 */
public interface DepartmentInfoMapper extends BaseMapper<DepartmentInfo> {

    void updateDelByDepIdAndEnterpriseId(List<Long> delDepartmenIdList, String enterpriseId, String delflag);

    void updateDelByUseridAndEnterpriseIdAndDepartmentId(List<String> delDepartmentEmployeeUseridList, String enterpriseId, Long departmentId);
}
